Prizm Content Connect Plus has a built-in script to extract text from any type of document.
Related arguments include:
- source: the source folder and file for conversion
- target: the target folder and target file
|
Extracting Text Using convert2swfclient
Example 1:
To extract text of all pages of sample.doc and place in the same directory as source:
Copy Code | |
---|---|
java -jar <prizm-install>/convert2swfclient.jar source=/path/to/sample.doc target=/path/to/sample.txt |
Example 2:
To extract text of page 1 of sample.doc and place in the same directory as source:
Copy Code | |
---|---|
java -jar <prizm-install>/convert2swfclient.jar source=/path/to/sample.doc target=/path/to/sample.txt pages=1 |
Example 3:
To extract text of page 1 of sample.doc and place in a different directory:
Copy Code | |
---|---|
java -jar <prizm-install>/convert2swfclient.jar source=/path/to/sample.doc target=/other/path/to/sample.txt pages=1 |